Skip to content

Fix - Assembler source R0 for CALL_IMM #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

Lichtso
Copy link
Collaborator

@Lichtso Lichtso commented Jan 3, 2025

SBPFv3 differentiates syscalls in a separate opcode. Thus there is no more need for abusing the src reg field.

@Lichtso Lichtso requested a review from LucasSte January 3, 2025 17:50
@Lichtso Lichtso changed the title Fix - Assmebler source R0 for CALL_IMM Fix - Assembler source R0 for CALL_IMM Jan 6, 2025
Copy link
Collaborator

@LucasSte LucasSte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compiler is still emitting the src=1 for internal calls, but I can change that.

@Lichtso Lichtso merged commit 253c57b into main Jan 6, 2025
11 checks passed
@Lichtso Lichtso deleted the fix/assembler_src_r0_call_imm branch January 6, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants